package cn.flying.cloud.base.common.exception;


import cn.flying.cloud.base.common.enums.BaseEnumInfo;

/**
 * RPC调用异常
 *
 * @author: admin
 * @date: 2022年04月02日 21:52
 * @version: 1.0
 */
public class RpcException extends CommonException {

    public RpcException() {
    }

    public RpcException(BaseEnumInfo enumInfo) {
        super(enumInfo);
    }

    public RpcException(BaseEnumInfo enumInfo, Throwable cause) {
        super(enumInfo, cause);
    }

    public RpcException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public RpcException(String message) {
        super(message);
    }

    public RpcException(String code, String message) {
        super(code, message);
    }

    public RpcException(String code, String message, Throwable cause) {
        super(code, message, cause);
    }
}
